import React from 'react';

export const componentMap: Record<string, React.LazyExoticComponent<React.ComponentType<any>>> = {
  'pages/Dashboard/index': React.lazy(() => import('@/pages/Dashboard')),
  'pages/Settings/UserManagement/index': React.lazy(() => import('@/pages/Settings/UserManagement')),
  'pages/Settings/RoleManagement/index': React.lazy(() => import('@/pages/Settings/RoleManagement')),
  'pages/Settings/MenuManagement/index': React.lazy(() => import('@/pages/Settings/MenuManagement')),
  'pages/Settings/DepartmentManagement/index': React.lazy(() => import('@/pages/Settings/DepartmentManagement')),
  // 你可以继续补充其他页面
}; 